-- curl -i '127.0.0.1:6699/api/unit/test_example'

local tb    = require "resty.iresty_test"

local test = tb.new({unit_name="bench_example"})

function tb:init(  )
    self:log("init complete")
end

function tb:test_00001(  )
    error("invalid input")
    -- self:log("ok!!")
end

function tb:atest_00002()
    self:log("never be called")
end

function tb:test_00003(  )
   self:log("ok")
end

-- units test
test:run()

-- bench test(total_count, micro_count, parallels)
test:bench_run(140000, 25, 200)